package com.rp.control.operation.data.remote;

import com.rp.control.operation.Operacao;
import com.rp.control.operation.OperationResult;
import com.rp.dao.remote.ConnectionFactory;

public class CriarConexao extends Operacao {

    public CriarConexao() {
    }

    @Override
    public void execute() {
	try {
	    ConnectionFactory.get();
	} catch (Throwable t) {
	    t.printStackTrace();
	    operationResult = OperationResult.ERRO_COMM;
	}
	operationResult = OperationResult.OK_UPDATE;
    }
}
